package org.lanqiao.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.lanqiao.entity.Bill;
import org.lanqiao.mapper.BillItemMapper;
import org.lanqiao.mapper.BillMapper;
import org.lanqiao.service.BillItemService;
import org.springframework.stereotype.Service;

@Service("BillItemService")
public class BillItemServiceImpl implements BillItemService{
	@Resource
	private BillItemMapper billItemMapper;
	//分页查询
	public List<Bill> selectAllBillItem(int a,int b,Bill bill) {
		return billItemMapper.selectAllBillItem(a, b,bill);		
	}
	//查询总页数
	public  int count() {
		return billItemMapper.count();
	}
}
